/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.edu.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.edu.entity.EduTeacherState;
import com.jeesite.modules.edu.dao.EduTeacherStateDao;

/**
 * edu_teacher_stateService
 * @author 赵俊飞
 * @version 2019-07-23
 */
@Service
@Transactional(readOnly=true)
public class EduTeacherStateService extends CrudService<EduTeacherStateDao, EduTeacherState> {
	
	/**
	 * 获取单条数据
	 * @param eduTeacherState
	 * @return
	 */
	@Override
	public EduTeacherState get(EduTeacherState eduTeacherState) {
		return super.get(eduTeacherState);
	}
	
	/**
	 * 查询分页数据
	 * @param eduTeacherState 查询条件
	 * @param eduTeacherState.page 分页对象
	 * @return
	 */
	@Override
	public Page<EduTeacherState> findPage(EduTeacherState eduTeacherState) {
		return super.findPage(eduTeacherState);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param eduTeacherState
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(EduTeacherState eduTeacherState) {
		super.save(eduTeacherState);
	}
	
	/**
	 * 更新状态
	 * @param eduTeacherState
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(EduTeacherState eduTeacherState) {
		super.updateStatus(eduTeacherState);
	}
	
	/**
	 * 删除数据
	 * @param eduTeacherState
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(EduTeacherState eduTeacherState) {
		super.delete(eduTeacherState);
	}
	
}